import { http } from "@/utils/http";
import type { HttpResult } from "@/utils/http/types";

export function queryLogTable(params) {
  return http.request<HttpResult>("get", "/admin/filedownloadlog/get/table", {
    params: params
  });
}

export function queryLogList(params) {
  return http.request<HttpResult>("get", "/admin/filedownloadlog/get/list", {
    params: params
  });
}

export function deleteLog(ids) {
  return http.request<HttpResult>(
    "post",
    `/admin/filedownloadlog/delete/${ids}`
  );
}
